﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Landscape.Vessel.Business.Entities
{
    public class Role
    {
        public Role()
        {
            //this.ID = -1;
            this.ID = Guid.Empty;
        }

        public virtual Guid ID
        { get; set; }

        public virtual string Name
        { get; set; }

        public virtual string Description
        { get; set; }

        public virtual bool IsDisabled
        { get; set; }

        public virtual bool IsDeleted
        { get; set; }

        public virtual IList<SystemModulePrivilege> Privileges
        { get; set; }

        public virtual Guid CreatedBy
        { get; set; }

        public virtual DateTime CreatedDate
        { get; set; }

        public virtual Guid UpdatedBy
        { get; set; }

        public virtual DateTime UpdatedDate
        { get; set; }

        public virtual IList<UserMaster> Users
        { get; set; }
    }
}
